#ifndef __MODBUS_REGEDIT_H__
#define __MODBUS_REGEDIT_H__

#include "stm32f4xx.h"

typedef enum{
    MODBUS_TCP,
    MODBUS_RTU,
}MbType_TypeDef;


void Modbus_ReadBytePara(void *pMdR,const uint16_t addr,uint16_t *data,const uint16_t len);
void Modbus_ReadNSysPara(void*pMdR,const uint16_t addr,uint16_t *data,const uint16_t len);
void Modbus_WriteSysPara(void*pMdR,const uint16_t addr,uint16_t *data,const uint16_t len);
void Modbus_WriteSysParaU16(void*pMdR,const uint16_t addr,uint16_t *data,const uint16_t len);
void Modbus_ReadSysPara(void*pMdR,const uint16_t addr,uint16_t *data,const uint16_t len);

#endif //__MODBUS_REGEDIT_H__
